import Vue from "vue";
import App from "./App.vue";
import Vant from 'vant'
import router from "./router";
import setRem from './plugins/rem.js'
import './styles/reset.css'
import 'vant/lib/index.css'

Vue.config.productionTip = false;
Vue.use(Vant);
new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");

setRem(750, 100);
window.addEventListener('resize', function () {
  setRem(750, 100);
});